<%@page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %>
<%@ taglib prefix="s" uri="/struts-tags" %>

<html>
<head><title>File</title></head>
	<script language="JavaScript">
	</script>
	<style type="text/css">
	<!--
	body {
		margin-left: 0px;
		margin-top: 0px;
		margin-right: 0px;
		margin-bottom: 0px;
		background-color: #EEF2FB;
	}
	-->
	</style>
	<link href="../images/skin.css" rel="stylesheet" type="text/css" />
<body>
	<table width="100%" border="0" cellpadding="0" cellspacing="0">
		<tr>
			<td>
			 <table width="100%" border="0" cellpadding="0" cellspacing="0">
			 	<tr>
			 		<td width="17" valign="top" background="../images/mail_leftbg.gif"><img src="../images/left-top-right.gif" width="17" height="29" /></td>
				    <td valign="top" background="../images/content-bg.gif"><table width="100%" height="31" border="0" cellpadding="0" cellspacing="0" class="left_topbg" id="table2">
				      <tr>
				        <td height="31"><div id="title">Hospital Documents--<s:property value="show_label"/> Documents Rank Top 10</div></td>
				      </tr>
				    </table></td>
				    <td width="16" valign="top" background="../images/mail_rightbg.gif"><img src="../images/nav-right-bg.gif" width="16" height="29" /></td>
			 	</tr>
			 </table>
			</td>    
		</tr>
	
		<tr>
			<td>
				<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#F7F8F9">
						<thead>
							<tr>
								<th width="17" background="../images/mail_leftbg.gif"><img src="../images/mail_leftbg.gif" width="17" height="17" /></th>							
								<th align="left">
									Physician Name
								</th>
								<th align="left">
									All
								</th>
								<th align="left"> 
									Signed
								</th>
								<th align="left"> 
									UnSigned
								</th>
								<th align="left"> 
									Received
								</th>
								
								<th align="left"> 
									Function
								</th>
								<th width="16" background="../images/mail_rightbg.gif"><img src="../images/mail_rightbg.gif" width="16" height="17" /></th>
							</tr>
						</thead>
						<tbody>
							<s:iterator value="userAndDocumentList">
								<tr>
									<td width="17" background="../images/mail_leftbg.gif"><img src="../images/mail_leftbg.gif" width="17" height="17" /></td>
									<td align="left">
										<a href="<s:url value="listDocumentDetail.action">
    			                    	<s:param name="username" value="username"/>
       								</s:url>"><s:property value="username" /></a>
									</td>
									<td align="left">
										<s:property value="allDocumentCount" />
									</td>
									<td align="left">
										<s:property value="signedDocumentCount" />
									</td>
									<td align="left">
										<s:property value="unSingDocumentCount" />
									</td>
									<td align="left">
										<s:property value="receivedDocumentCount" />
									</td>									
									<td align="left">
										<s:url id="replyURL" action="../message/reply_message.action">
										<s:param name="receviers" value="username"/>
										<s:param name="view_flag">physitianrank</s:param>
										</s:url>
								  &nbsp;&nbsp;<a href="${replyURL}"> Message</a>&nbsp;&nbsp; <a href="<s:url value="listDocumentDetail.action">
    			                    	<s:param name="username" value="username"/>
       								</s:url>">Detail</a>
									</td>
									<td width="16" background="../images/mail_rightbg.gif"><img src="../images/mail_rightbg.gif" width="16" height="17" /></td>									 
								</tr>
							</s:iterator>
						</tbody>
				</table>
			</td>
		</tr>
		<tr>
		<td>
		<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#F7F8F9">
					<tr>
						<td width="17" background="../images/mail_leftbg.gif"><img src="../images/mail_leftbg.gif" width="17" height="17" /></td>
						<td align="left">
							
							<hr size=1 width=100%>
						</td>
						<td width="16" background="../images/mail_rightbg.gif"><img src="../images/mail_rightbg.gif" width="16" height="17" /></td>
					</tr>
				</table>
				</td>
		</tr>
		<tr>
			<td>
				<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#F7F8F9">
					<tr>
						<td width="17" background="../images/mail_leftbg.gif"><img src="../images/mail_leftbg.gif" width="17" height="17" /></td>
						<td align="left">
							
							<font size="4">Other Ranks</font>
						</td>
						<td width="16" background="../images/mail_rightbg.gif"><img src="../images/mail_rightbg.gif" width="16" height="17" /></td>
					</tr>
				</table>
			</td>
		</tr>
		<tr>
			<td>
				<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#F7F8F9">
					<tr>
						<td width="17" background="../images/mail_leftbg.gif"><img src="../images/mail_leftbg.gif" width="17" height="17" /></td>
						<td>
							<table>
								<tr>
									<thead>
										<tr>							
											<th align="left">
												Name
											</th>
											<th align="left">
												Link
											</th>
										</tr>
									</thead>
									<tbody>
										<s:iterator value="otherLinks">
											<tr>
												<td>
													<s:property value="name"/>
												</td>
												<td>
													<s:property value="link" escape="false"/>
												</td>
											</tr>
										</s:iterator>
									</tbody>
							</table>
						</td>
						<td width="16" background="../images/mail_rightbg.gif"><img src="../images/mail_rightbg.gif" width="16" height="17" /></td>
					</tr>
				</table>
			</td>
		</tr>
		<tr>
			<td>
			 <table width="100%" border="0" cellpadding="0" cellspacing="0">
			 	<tr>
			 		<td width="17" valign="top" background="../images/mail_leftbg.gif"><img src="../images/buttom_left2.gif" width="17" height="17" /></td>
				    <td valign="top" background="../images/buttom_bgs.gif"><img src="../images/buttom_bgs.gif" width="17" height="17"></td>
				    <td width="16" valign="top" background="../images/mail_rightbg.gif"><img src="../images/buttom_right2.gif" width="16" height="17" /></td>
			 	</tr>
			 </table>
			</td>    
		</tr>
	</table>
</body>
</html>

